<template name="goodslist">
	<!-- 商品列表页面 -->
<view>
	<view class="goods_box">
	<view class="goods_ul">
		<view class="goods_li" v-for="(goods,index) in goods">
			<navigator class="goods_li_a" hover-class="none" :url="goods.url">
				<view class="good_yong">
					<view>赚</view> 
					<view>￥{{goods.yong}}</view>
				</view>
				<image 
				:src="goods.src" class="goods_li_img"></image>
				<view class="goods_name">
					{{goods.name}}
				</view>
				<view class="goods_last">
					<view class="newmoney">¥{{goods.newmoney}}</view>
					<view class="shounum">销量{{goods.shounum}}</view>
					<navigator class="locat" hover-class="none" :url="goods.url">购买</navigator>
				</view>
			</navigator>
		</view>
	</view>
	</view>
	
	
</view>
</template>
<script>
   export default{
	   data(){
		   return{
			   goods:[  //商品分类列表的商品
				   {
					  url:'../../pages/goods/detail', //商品链接
					  yong:'0.5', //佣金
					  src:'http://wx.crh2009.com/attachment/images/2/2020/08/QhHH19u44656vyysZZL0ZG56sCLcHV.jpg', //商品图片
					  name:'【爱心助农】浦江红心猕猴桃小果14.8元15个，单果50-70g，果中之王，高甜爽口，清甜多汁，新鲜现摘，天然无公害，坏果包赔！,',
					  newmoney:'14.80', //售价
					  shounum:'359', //销量
				   },
				   {
				   					  url:'../../pages/goods/detail', //商品链接
				   					  yong:'0.5', //佣金
				   					  src:'http://wx.crh2009.com/attachment/images/2/2020/08/QhHH19u44656vyysZZL0ZG56sCLcHV.jpg', //商品图片
				   					  name:'【爱心助农】浦江红心猕猴桃小果14.8元15个，单果50-70g，果中之王，高甜爽口，清甜多汁，新鲜现摘，天然无公害，坏果包赔！,',
				   					  newmoney:'14.80', //售价
				   					  shounum:'359', //销量
				   },
				   {
				   					  url:'../../pages/goods/detail', //商品链接
				   					  yong:'0.5', //佣金
				   					  src:'http://wx.crh2009.com/attachment/images/2/2020/08/QhHH19u44656vyysZZL0ZG56sCLcHV.jpg', //商品图片
				   					  name:'【爱心助农】浦江红心猕猴桃小果14.8元15个，单果50-70g，果中之王，高甜爽口，清甜多汁，新鲜现摘，天然无公害，坏果包赔！,',
				   					  newmoney:'14.80', //售价
				   					  shounum:'359', //销量
				   },
				   {
				   					  url:'../../pages/goods/detail', //商品链接
				   					  yong:'0.5', //佣金
				   					  src:'http://wx.crh2009.com/attachment/images/2/2020/08/QhHH19u44656vyysZZL0ZG56sCLcHV.jpg', //商品图片
				   					  name:'【爱心助农】浦江红心猕猴桃小果14.8元15个，单果50-70g，果中之王，高甜爽口，清甜多汁，新鲜现摘，天然无公害，坏果包赔！,',
				   					  newmoney:'14.80', //售价
				   					  shounum:'359', //销量
				   }
			   ]
		   }
	   },
	   name:"goodslist",
	   props:{
		   obj:{
			   type:Object
		   } 
	   },
	   methods:{
		  
	   }
   }
</script>
<style>
	@import url("../static/css/good.css");
</style>
